package com.youxuan.ssyx.activity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youxuan.ssyx.model.activity.CouponInfo;

import java.util.List;

/**
 * <p>
 * 优惠券信息 Mapper 接口
 * </p>
 *
 * @author LiuYang
 * @since 2023-10-27
 */
public interface CouponInfoMapper extends BaseMapper<CouponInfo> {

    List<CouponInfo> selectCouponInfoList(Long skuId, Long categoryId, Long userId);

    List<CouponInfo> selectCartCouponInfoList(Long userId);
}
